
const request = require('request');

let options = {
    url:'http://httpbin.org/ip',
    proxy: "http://ng001.weimiaocloud.com:9003"
  };
function callback(error, response, body) {
  console.log(response.statusCode)
  if (!error && response.statusCode == 200) {
      console.log(body)
      return false
  }
  console.log(error)
}
request(options, callback);